<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE10" />
<meta name="renderer" content="webkit|ie-comp|ie-stand">
<title>用户绘图</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script type="text/javascript" src="../js/packages/mindself.js"></script>
<script type="text/javascript" src="../js/packages/mindself.draggable.js"></script>
<script type="text/javascript" src="../js/packages/jsmind.shell.js"></script>

<link rel="stylesheet" href="../bootstrap/bootstrap-fileinput/css/fileinput.min.css" />
<script src="../js/tinymce/tinymce.min.js"></script>
   	<link rel="stylesheet" href="../css/amazeui.min.css" />
<link type="text/css" rel="stylesheet" href="../css/jsmind.css" />
<link rel="stylesheet" href="../bootstrap/css/bootstrap.min.css" />
<link rel="stylesheet" href="../css/mtreat.css" />
<link rel="stylesheet" href="../css/tinymce.css" />
<link rel="stylesheet" href="../css/loadcircle.css" />
</head>
<body>
<div id="load-circle" class="load-divAll">
	<div class="load-div">
	  <div class="sk-circle">
        <div class="sk-circle1 sk-child"></div>
        <div class="sk-circle2 sk-child"></div>
        <div class="sk-circle3 sk-child"></div>
        <div class="sk-circle4 sk-child"></div>
        <div class="sk-circle5 sk-child"></div>
        <div class="sk-circle6 sk-child"></div>
        <div class="sk-circle7 sk-child"></div>
        <div class="sk-circle8 sk-child"></div>
        <div class="sk-circle9 sk-child"></div>
        <div class="sk-circle10 sk-child"></div>
        <div class="sk-circle11 sk-child"></div>
        <div class="sk-circle12 sk-child"></div>
      </div>
	</div>
</div>
	<div class="mindmap">
    	<div class="mindmap-main">
        
        
            <div class="function-bar" id="function-bar">
            	<div class="toolbar" id="show-tree">
					<span class="glyphicon glyphicon-th" id="show-tree-icon" ></span>
				</div>
				<div class="user-message" id="user-message">
					<span class="glyphicon glyphicon-user" data-toggle="modal" data-target="#user-logoutall" id ="user-info"></span>
				</div>
                <!--
				<div id="toolbar">
					<span class="toolbar-btn glyphicon glyphicon-plus active" data-toggle="modal" data-target="#newTerm" id="topic-plus">新建</span>
				</div>
				-->
				<div class = "path-group" id="path-group">
					<ul class="breadcrumb">
						<li id="firstbread"><a href="/admin/selfplib.html" id = "searchback"><span class="glyphicon">搜索</span></a></li> 
						<li class="active"><span class="glyphicon" id="secondbread"></span></li>
					</ul>
				</div>
			</div>   
			<div class="mindmap-tool-win" id="mindmap-tool-win">
            	<div class="mindmap-tool-left" id="mindmap-tool-left">
            	 	<button class="btn" id="move-left">
		               	<span class="glyphicon glyphicon-backward"></span>
		            </button> 
            	</div>
		    	
		    	<div class="mindmap-tool-buttons" id="mindmap-tool-buttons">    
		        	<div class="mindmap-tool" id="mindmap-tool">
		           		<button  class="btn btn-warning" id="savefile">
		                	<span class="glyphicon glyphicon-floppy-open"></span>
		                	<p class="btnp">保存</p>
		                </button>
		        		  <div class="treatsearch" id="treatsearch">
		               	   
		               	    <button  class="btn btn-primary" id="zoom-in" data-toggle="modal" data-target="#insert-search">
		                		<span class="glyphicon glyphicon-zoom-in"></span>
		                		<p class="btnp">查找插入</p>
		                	</button>
						</div>
		            	<button class="btn btn-primary" id="addChildNode">
		            		<span class="glyphicon glyphicon-plus"></span>
		            		<p class="btnp">子主题</p>
		            	</button>
		                <button class="btn btn-primary" id="addBrotherNode">
		                	<span class="glyphicon glyphicon-plus-sign"></span>
		                	<p class="btnp">同级主题</p>
		                </button>
		               
		               
		                <button class="btn btn-primary" id="addLink">
		                	<span class="glyphicon glyphicon-link"></span>
		                	<p class="btnp">链接</p>
		                </button> 
		       		  	
		       			<div id="linkInput" style="display:none">
		       				 <button class="btn btn-primary" id="fromidbtn"><span class="glyphicon glyphicon-link small">from:</span>
		       				 	<div id="fromid"></div>
		       				 </button> 
		       				 <button class="btn btn-primary" id="toidbtn"><span class="glyphicon glyphicon-link small">to:</span>
		       				 	<div id="toid"></div>
		       				 </button> 
		                </div>
		    			<button class="btn btn-success" id="addAttribute">
		    				<span class="glyphicon glyphicon-tags "></span>
		    				<p class="btnp">标签</p>
		    			</button>
		                <button class="btn btn-success" id="remark">
		                	<span class="glyphicon glyphicon-pushpin"></span>
		                	<p class="btnp">备注</p>
		                </button>
		                
		                <button class="btn btn-danger" id="removeNode">
		                	<span class="glyphicon glyphicon-trash"></span>
		                	<p class="btnp">删除</p>
		                </button>
		                <button class="btn btn-danger" id="cutNode">
		                	<span class="glyphicon glyphicon-cutlery"></span>
		                	<p class="btnp">切除</p>
		                </button>
		                <!-- 
		                <button  class="btn btn-info" id="expend3">
		                	<span class="glyphicon glyphicon glyphicon-resize-full">3</span>
		                	<p class="btnp">层级3</p>
		                </button>
		                <button  class="btn btn-info" id="expend2">
		                	<span class="glyphicon glyphicon glyphicon-resize-full">2</span>
		                	<p class="btnp">层级2</p>
		                </button>
		                <button  class="btn btn-info" id="expend1">
		                	<span class="glyphicon glyphicon glyphicon-resize-full">1</span>
		                	<p class="btnp">层级1</p>
		                </button>
		                 -->
		                <button  class="btn" id="revoke">
		                	<span class="glyphicon glyphicon glyphicon glyphicon-arrow-left"></span>
		                	<p class="btnp">撤销</p>
		                </button>
		                <button  class="btn"  data-toggle="modal" data-target="#alertCost" id="allcost">
		                	<span class="glyphicon glyphicon glyphicon" >￥</span>
		                	<p class="btnp">总价</p>
		                </button>
		                <!--button  class="btn btn-warning" id="savefile"><span class="glyphicon glyphicon-folder-open"></span></button-->     
		        		<select id="changetheme" class="form-control">
		          			<option value="">default</option>
		            		<option value="primary">primary</option>
		            		<option value="warning">warning</option>
		            		<option value="danger">danger</option>
		            		<option value="success">success</option>
		            		<option value="info">info</option>
		            		<option value="greensea" selected="selected">greensea</option>
		            		<option value="nephrite">nephrite</option>
		            		<option value="belizehole">belizehole</option>
		            		<option value="wisteria">wisteria</option>
		            		<option value="asphalt">asphalt</option>
		            		<option value="orange">orange</option>
		            		<option value="pumpkin">pumpkin</option>
		            		<option value="pomegranate">pomegranate</option>
		            		<option value="clouds">clouds</option>
		            		<option value="asbestos">asbestos</option>
		        		</select>
		            </div>
		            <div style="clear:both"></div>    
            	</div>
            	<div class="mindmap-tool-right" id="mindmap-tool-right">
            		<button class="btn" id="move-right">
		               	<span class="glyphicon glyphicon-forward"></span>
		            </button> 
            	</div>
		    </div>    
		</div>
	</div>
   	<div class="jsmind_container" id="jsmind_container"></div>
   	<div class="jsmind_container_search" id="jsmind_container_search"></div>
   	 
   	 
 
 	
	<div class="documentDiv" id ="documentDiv">
	
		<div class="documentHeadDiv" id="documentHeadDiv">
		
		</div>
		<div class="documentCostDiv" id="documentCostDiv">
			<span class="glyphicon glyphicon">开销：</span>
			<input type="number" id="inputCost" class="inputCost"></input>
			<span class="glyphicon glyphicon" id="showCost">0</span>
			<button class="btn btn-primary" id="file-upload">上传文件</button>
		</div>
		<div id="documentMessage">
			<div class="documentFootDiv" id="documentFootDiv">
		
				<button class="btn btn-danger" data-toggle="modal" data-target="#alertDelete"  id="documentDelete">删除</button>
	
				<button class="btn btn-default" id="documentClose">关闭</button>
	
				<button class="btn btn-primary" id="documentEdit">编辑</button>
			</div>
			<div class="documentNodeIdDiv" id="documentIdDiv">
			</div>
			<div class="documentNodeIdDiv" id="documentNodeIdDiv">
			</div>
			<div class="documentNodeIdDiv" id="tagsNodeIdDiv">
			</div>
			<ul data-am-widget="gallery"  data-am-gallery="{ pureview: true }" >
				<div class="documentBodyDiv" id="documentBodyDiv" style="display:block">
				</div>
			</ul>
		</div>
		<div class="documentFileDiv" id="documentDocDiv">
		</div>
		<div class="richDiv" id="richDiv">
   			<textarea id="Content" style="width:80%;"></textarea>
   	
    		<button id="richClose" class ="btn btn-default richClose">取消</button>
    		<button id="richSave" class ="btn btn-primary richSave">保存</button>
 		</div>
	
	</div>
		<div class="modal fade" id="alertCost" tabindex="-1" role="dialog"
		aria-labelledby="myModalLabel" aria-hidden="true">
		<div class="modal-dialog">
			<div class="modal-content">
				<div class="modal-header">
					<span class="glyphicon">开销：</span>
					<span id = "costAll" class="glyphicon"></span>
				</div>
				
				<div class="modal-footer">
					<button type="button" class="btn btn-default" data-dismiss="modal">关闭
					</button>
				</div>
			</div>
			<!-- /.modal-content -->
		</div>
		<!-- /.modal -->
	</div>
		<div class="modal fade" id="user-logoutall" tabindex="-1" role="dialog"
		aria-labelledby="myModalLabel" aria-hidden="true">
		<div class="modal-dialog">
			<div class="modal-content">
				<div class="modal-header">
					<span class="glyphicon">是否退出登录</span>
				</div>
				
				<div class="modal-footer">
					<button type="button" class="btn btn-primary" id="user-logout"
						data-dismiss="modal">是</button>
					<button type="button" class="btn btn-default" data-dismiss="modal">否
					</button>
					
				</div>
			</div>
		</div>
	</div>
 	<div class="modal fade" id="alertDelete" tabindex="-1" role="dialog"
		aria-labelledby="myModalLabel" aria-hidden="true">
		<div class="modal-dialog">
			<div class="modal-content">
				<div class="modal-header">
					<span class="glyphicon">是否要删除该备注</span>
				</div>
				
				<div class="modal-footer">
					<button type="button" class="btn btn-primary" id="delete-pushpin"
						data-dismiss="modal">是</button>
					<button type="button" class="btn btn-default" data-dismiss="modal">否
					</button>
					
				</div>
			</div>
			<!-- /.modal-content -->
		</div>
		<!-- /.modal -->
	</div>
	<div class="modal fade" id="tagsalertDelete" tabindex="-1" role="dialog"
		aria-labelledby="myModalLabel" aria-hidden="true">
		<div class="modal-dialog">
			<div class="modal-content">
				<div class="modal-header">
					<span class="glyphicon">是否要删除该标签</span>
				</div>
				
				<div class="modal-footer">
					<button type="button" class="btn btn-primary" id="delete-tags"
						data-dismiss="modal">是</button>
					<button type="button" class="btn btn-default" data-dismiss="modal">否
					</button>
					
				</div>
			</div>
			<!-- /.modal-content -->
		</div>
		<!-- /.modal -->
	</div>
	<div class="modal fade" id="tags-show" tabindex="-1" role="dialog"
		aria-labelledby="myModalLabel" aria-hidden="true">
		<div class="modal-dialog">
			<div class="modal-content">
				<div class="modal-header">
					<span class="glyphicon" id="tags-name"></span>
				</div>
				<div class="modal-body">
					<div id="tags-content" class="tags-content">
					
					</div>
					<div class="tagsAddMsgDiv" id="tagsAddMsgDiv">+</div>
					<div style="clear:both"></div>
				</div>
				<div class="modal-footer">
					<button type="button" class="btn btn-danger" id="tags-delete" data-dismiss="modal" data-toggle="modal" data-target="#tagsalertDelete">删除</button>
					<button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
					<button type="button" class="btn btn-primary" id="tags-submit" data-dismiss="modal">提交</button>
				</div>
			</div>
			<!-- /.modal-content -->
		</div>
		<!-- /.modal -->
	</div>
	
	<div class="modal fade" id="insert-search" tabindex="-1" role="dialog"
		aria-labelledby="myModalLabel" aria-hidden="true">
		<div class="modal-dialog">
			<div class="modal-content">
				<div class="modal-header">
				</div>
				<div class="modal-body">
					<div class="input-group col-md-12" style="margin-top:0px positon:relative">  
				       <input id="treatsearchtext" type="text" class="form-control"placeholder="请输入字段名" / >  
            			<span class="input-group-btn">  
               			<button id = "treatsearchsubmit" class="btn btn-info btn-search">查找</button>
            			</span>  
					 </div>
				</div>
				<div class="modal-footer" id="treatsearchresultall">
				</div>
			</div>
			<!-- /.modal-content -->
		</div>
		<!-- /.modal -->
	</div>
	<script src="../js/packages/require.js" data-main="../js/selfptreat"></script>
	<!-- jQuery (Bootstrap 的 JavaScript 插件需要引入 jQuery) -->
</body>
</html>

